package com.cupk2.lucene.inter;

import com.cupk2.lucene.document.CupkDocument;

import java.util.List;

/**
 * 索引创建服务
 */
public interface Cupk2LuceneIndexInter {

    public void createIndex(List<CupkDocument> documents);

    public void deleteIndex(List<String> ids);

    public void mergeIndex();

    public void deleteIndex(List<String> ids, String field);
}
